package love.yuanmeng.guetcoalsystem.service;

import love.yuanmeng.guetcoalsystem.pojo.User;
import love.yuanmeng.guetcoalsystem.util.DataGridView;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import love.yuanmeng.guetcoalsystem.pojo.Message;
import love.yuanmeng.guetcoalsystem.pojo.User;

public interface UserService {
    DataGridView getAllUser();
    int addUser(User user);
    int updateUser(User user);
    int deleteUser(User user);
    DataGridView getUsersOrderBy(User user);
    IPage getTradeUser(Page page, User user);
    boolean approvedUser(User user, Message message);
}
